<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>爱投教</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <link rel="stylesheet" type="text/css" href="../css/animate.min.css">
    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" href="./pcindex/swiper/swiper-bundle.min.css">

    <!-- Demo styles -->
    <style>
        html,
        body {
            position: relative;
            height: 100%;
        }

        body {
            overflow-y: scroll;
            overflow-x: hidden;
            background: #202020;
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color: #fff;
            margin: 0;
            padding: 0;
        }

        ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        ul li{
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .main-container {
            position: absolute;
            width: 1200px;
            height: 100%;
            left: 50%;
            margin-left: -600px;
        }

        .left-content {
            position: relative;
            display: block;
            width: 840px;
            height: 376px;
            background-color: #202020;
            float: left;
        }

        .swiper-container {
            width: 840px;
            height: 376px;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;

            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }

        .left-bottom {
            visibility: hidden;
            margin-top: 6px;
            width: 100%;
            background-color: #343434;
        }

        .bottom-cube {
            position: relative;
            display: block;
            float: left;
            width: 295.5px;
            height: 347px;
            background-color: #343434;
            padding-bottom: 15px;
        }

        .bottom-cube .txt-title {
            width: 100%;
            height: 45px;
        }

        .right-cube {
            margin-left: 5px;
        }

        .vline {
            width: 5px;
            height: 24px;
            margin-top: 12px;
            margin-left: 10px;
            background-color: #ff6d1e;
            float: left;
        }

        .title-val {
            float: left;
            margin-top: 10px;
            margin-left: 10px;
            font-size: 18px;
            color: #b6b6b6;
        }

        .tline {
            height: 2px;
            width: 90px;
            margin-left: 10px;
            background-color: #8D8D8D;
        }

        .tline-left {
            height: 2px;
            width: 125px;
            margin-left: 10px;
            background-color: #8D8D8D;
        }

        .hline {
            height: 1px;
            width: 93%;
            margin-left: 10px;
            background-color: #4b4b4b;
        }

        .left-content ul {
            width: 295.5px;
            height: 315px;
            background-color: #343434;
        }

        .left-content li {
            position: relative;
            display: block;
            float: left;
            width: 100%;
        }

        .li-fst {
            height: 136px;
        }

        .niu-fst-date {
            position: absolute;
            right: 10px;
            color: #8D8D8D;
        }

        .rpt-line {
            position: absolute;
            width: 275px;
            height: 1px;
            background-color: #4b4b4b;
            top: 140px;
            left: 10px;
        }

        .rpt-line-item {
            position: absolute;
            width: 275px;
            height: 1px;
            background-color: #4b4b4b;
            /*top: 25px;*/
            left: 10px;
        }

        .niu-img {
            width: 275px;
            height: 116px;
            margin-left: 10px;
        }

        .niu-fst-title {
            position: absolute;
            width: 265px;
            padding-left: 10px;
            left: 10px;
            height: 36px;
            line-height: 36px;
            bottom: 20px;
            background-color: rgba(0, 0, 0, 0.5);
            color: #dcdcdc;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .item-tip {
            width: 40px;
            height: 40px;
            border: 1px solid #e85b5b;
            text-align: center;
            font-size: 14px;
            font-weight: bold;
            background-color: #4b4b4b;
            color: #db3a3a;
            margin-top: 17px;
            margin-left: 10px;
            float: left;
        }

        .item-tip.zx-news {
            border: 1px solid #5cddff;
            color: #5996f5;
        }

        .item-content {
            position: absolute;
            float: left;
            width: 220px;
            margin-top: 17px;
            left: 65px;
            color: #dcdcdc;
        }

        .li-rpt-fst {
            margin-top: 5px;
        }

        .li-rpt {
            margin-top: 30px;
        }

        .item-title {
            width: 100%;
            /*overflow: hidden;*/
            /*text-overflow:ellipsis;*/
            /*white-space: nowrap;*/
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .li-rpt .item-date {
            position: absolute;
            right: 0;
            margin-top: 6px;
            color: #8D8D8D;
        }

        .li-rpt-fst .item-date {
            position: absolute;
            right: 0;
            margin-top: 6px;
            color: #8D8D8D;
        }

        .item-date {
            margin-top: 6px;
            color: #8D8D8D;
        }

        .ic-news-last {
            display: block;
            position: absolute;
            right: 12px;
            top: 28px;
            z-index: 2;
            width: 32px;
        }

        .video-cube {
            width: 295.5px;
            height: 180px;
        }

        .play-history ul {
            height: 160px;
        }

        .play-history li {
            margin-top: 3px;
        }

        .play-history a{
            text-decoration: none;
        }

        .ic-play {
            display: block;
            float: left;
            width: 24px;
            height: 24px;
            margin-top: 10px;
            margin-left: 10px;
        }

        .his-title {
            float: left;
            margin-top: 12px;
            margin-left: 10px;
            color: #cdcdcd;
            width: 240px;
            overflow: hidden;
            text-overflow:ellipsis;
            white-space: nowrap;
        }
        .his-date {
            text-align: right;
            font-size: 12px;
            color: #8D8D8D;
            margin-top: 5px;
            margin-right: 12px;
        }
        .video-content {
            float: left;
            margin-left: 10px;
        }
        .play-pic {
            margin-top: 5px;
            margin-left: 2px;
            width: 270px;
        }
        .play-status {
            position: absolute;
            color: #b8b8b8;
            text-align: center;
            width: 120px;
            top: 60px;
            right: -15px;
        }
        .play-status.playing {
            color: #fd562c;
        }

        .right-content {
            width: 350px;
            height: 376px;
            margin-left: 7px;
            float: left;
        }

        .right-top {
            width: 100%;
            height: 376px;
            background-color: #343434;
        }
        .msg-ul {
            position: relative;
            overflow-y: auto;
        }
        .msg-item {
            display: block;
            position: relative;
            padding-top: 15px;
        }
        .msg-date {
            float: left;
            margin-left: 10px;
            color: #cdcdcd;
            overflow: hidden;
            text-overflow:ellipsis;
            white-space: nowrap;
        }
        .msg-node {
            display: block;
            position: absolute;
            top: 15px;
            left: 50px;
            width: 10px;
            height: 10px;
            background: #f3543f;
            border-radius: 50%;
            z-index: 1;
        }
        .msg-vline {
            display: block;
            position: absolute;
            left: 54px;
            top: 20px;
            width: 1px;
            height: 100%;
            background-color: #8D8D8D;
        }
        .msg-title {
            float: left;
            width: 210px;
            margin-left: 20px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
        }

        /*.right-products {*/
        /*    margin-top: 6px;*/
        /*    background-color: #343434;*/
        /*}*/
        /*.g-tit {*/
        /*    color: #c1c1c1;*/
        /*    margin-left: 10px;*/
        /*}*/
        /*.g-val {*/
        /*    margin-top: 8px;*/
        /*    margin-left: 10px;*/
        /*}*/
        /*.grid-item {*/
        /*    float: left;*/
        /*    width: 88px;*/
        /*    font-size: 13px;*/
        /*    text-align: left;*/
        /*}*/
        /*.side-icon {*/
        /*    width: 48px;*/
        /*    height: 48px;*/
        /*    border-radius: 50px;*/
        /*    margin-top: 10px;*/
        /*    margin-left: 10px;*/
        /*}*/
        /*.side-icon-layout {*/
        /*    display: block;*/
        /*    float: left;*/
        /*}*/
        /*.grid-vals {*/
        /*    float: left;*/
        /*    width: 280px;*/
        /*}*/

        .grid-title {
            margin-top: 10px;
            margin-left: 10px;
            margin-bottom: 10px;
        }
        .grid-hline {
            height: 1px;
            width: 95%;
            margin-left: 10px;
            margin-top: 5px;
            margin-bottom: 5px;
            background-color: #4b4b4b;
            float: left;
        }
        .pd-pic {
            width: 350px;
        }

        .tab-box{ width: 350px; }
        .tab-box .tab{ border-bottom: 1px solid #323232; }
        .tab-box .tab ul li{ width: 33.3%; float: left;  height: 35px; line-height: 35px; text-align: center; }
        .tab-box .tab ul li.action{ background: #b61111; }
        .tab-box .tab ul li{ border-bottom: 2px solid #2f2f2f; }
        .tab-box .box{width: 100%; height: 200px; }
        .tab-box .box .item{ display: none; padding: 15px;height: 200px; }
        .tab-box .box .item:first-child{display: block;}
        .top-layout {
            display: block; width: 100%; height: 120px; float: left;
        }
        .bottom-layout {
            display: block; width: 100%; height: 200px; float: left
        }
        .pd-title {
            position: relative;
            margin-top: 15px;
            height: 24px;
            line-height: 24px;
        }
        .pd-title .ic-rank {
            position: absolute;
            display: inline-block;
            width: 24px;
            height: 24px;
            top: 2px;
        }
        .pd-title .tit-txt {
            position: absolute;
            display: inline-block;
            height: 24px;
            line-height: 24px;
            left: 26px;
            font-weight: 800;
            font-size: 20px;
            color: #4392e7;
        }
        .pd-content {
            position: relative;
            width: 100%;
        }
        .pd-profit {
            width: 40%;
            float: left;
        }
        .profit-content {
            color: #FD482C;
        }
        .pd-profit-val {
            font-size: 45px;
        }
        .profit-tip {
            color: #c2c2c2;
        }

        .pd-buy {
            width: 40%;
            float: right;
        }
        .pd-buy a{
            text-decoration : none
        }
        .fundbuy span:hover {
            /* background: #dab498; */
            box-shadow: 0 5px 12px 0 #dab498;
        }
        .fundbuy span {
            background: #FF6828;
            border-radius: 8px;
            font-size: 18px;
            color: #FFFFFF;
            padding: 0;
            line-height: 48px;
            display: block;
            text-align: center;
            width: 120px;
            /* font-weight: bold; */
        }

        .bottom-content {
            float: left;
            margin-top: 6px;
            width: 100%;
        }

        .bottom-bar {
            position: relative;
            float: left;
            margin-top: 6px;
            width: 100%;
            background-color: #343434;
        }

        .notice-qr {
            position: absolute;
            font-size: 12px;
            color: #b81b02;
            top: 54px;
        }
        .right-call {
            position: absolute;
            top: 78px;
        }
        .ic-qrcode {
            position: absolute;
            width: 100px;
            height: 100px;
            right: 10px;
            top: 22px;
        }

        .right-bottom {
            position: relative;
            float: right;
            margin-right: 35%;
            width: 28%;
            height: 142px;
            padding-top: 10px;
            background-color: #343434;
        }

        .scrollbar
        {
            float: left;
            height: 300px;
            width: 65px;
            background: #F5F5F5;
            overflow-y: scroll;
            margin-bottom: 25px;
        }

        /*
         *  STYLE 6
         */

        #style-6::-webkit-scrollbar-track
        {
            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
            background-color: #F5F5F5;
        }

        #style-6::-webkit-scrollbar
        {
            width: 10px;
            background-color: #F5F5F5;
        }

        #style-6::-webkit-scrollbar-thumb
        {
            background-color: #F90;
            background-image: -webkit-linear-gradient(45deg,
            rgba(255, 255, 255, .2) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, .2) 50%,
            rgba(255, 255, 255, .2) 75%,
            transparent 75%,
            transparent)
        }

        /*
         *  STYLE 7
         */

        #style-7::-webkit-scrollbar-track
        {
            -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
            background-color: #F5F5F5;
            border-radius: 10px;
        }

        #style-7::-webkit-scrollbar
        {
            width: 10px;
            background-color: #F5F5F5;
        }

        #style-7::-webkit-scrollbar-thumb
        {
            border-radius: 10px;
            background-image: -webkit-gradient(linear,
            left bottom,
            left top,
            color-stop(0.44, rgb(224, 111, 111)),
            color-stop(0.72, rgb(198, 70, 70)),
            color-stop(0.86, rgb(201, 32, 32)));
        }
    </style>
</head>

<body>
<div class="main-container">
    <!-- left -->
    <div class="left-content">
        <!-- Swiper -->
        <div class="swiper-container">
            <div class="swiper-wrapper">
                <div class="swiper-slide"><a target="_blank" href="../company"><img src="./pcindex/images/banner1.png"/></a></div>
                <div class="swiper-slide"><a target="_blank" href="../teachers"><img src="./pcindex/images/banner2.png"/></a></div>
                <div class="swiper-slide"><a target="_blank" href="../p11"><img src="./pcindex/images/banner3.png"/></a></div>
            </div>
            <!-- Add Pagination -->
            <div class="swiper-pagination"></div>
            <!-- Add Arrows -->
            <!--    <div class="swiper-button-next"></div>-->
            <!--    <div class="swiper-button-prev"></div>-->
        </div>
        <!-- 左下 -->
        <div class="left-bottom">
            <div class="bottom-cube left-cube">
                <div class="txt-title">
                    <div class="vline"></div>
                    <div class="title-val">牛股研报</div>
                </div>
                <div class="tline"></div>
                <div class="hline"></div>
                <div class="left-content">
                    <ul class="news-ul">
<!--                        <li>-->
<!--                            <a href="https://caidao.homeway.com.cn/28370489/article129473.html">-->
<!--                                <div class="item-tip">牛股研报</div>-->
<!--                                <div class="item-content">-->
<!--                                    <div class="item-title">三连阳后多方已濒临城下 顺周期渐入佳境</div>-->
<!--                                    <div class="item-date">2020-11-23</div>-->
<!--                                </div>-->
<!--                            </a>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <a href="https://caidao.homeway.com.cn/28370489/article129473.html">-->
<!--                                <div class="item-tip zx-news">早间资讯</div>-->
<!--                                <div class="item-content">-->
<!--                                    <div class="item-title">三连阳后多方已濒临城下 顺周期渐入佳境</div>-->
<!--                                    <div class="item-date">2020-11-23</div>-->
<!--                                </div>-->
<!--                            </a>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <div class="item-tip">牛股研报</div>-->
<!--                            <div class="item-content">-->
<!--                                <div class="item-title">三连阳后多方已濒临城下 顺周期渐入佳境</div>-->
<!--                                <div class="item-date">2020-11-23</div>-->
<!--                            </div>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <div class="item-tip">牛股研报</div>-->
<!--                            <div class="item-content">-->
<!--                                <div class="item-title">三连阳后多方已濒临城下 顺周期渐入佳境</div>-->
<!--                                <div class="item-date">2020-11-23</div>-->
<!--                            </div>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <div class="item-tip">牛股研报</div>-->
<!--                            <div class="item-content">-->
<!--                                <div class="item-title">三连阳后多方已濒临城下 顺周期渐入佳境</div>-->
<!--                                <div class="item-date">2020-11-23</div>-->
<!--                            </div>-->
<!--                        </li>-->
                    </ul>
                </div>
            </div>
            <div class="bottom-cube right-cube">
                <div class="txt-title">
                    <div class="vline"></div>
                    <div class="title-val">专家在线直播</div>
                </div>
                <div class="tline tline-left"></div>
                <div class="hline"></div>
                <div class="video-cube">
                    <a target="_blank" href="https://lesson.homeway.com.cn/play/1027787.html?header=false&mark=28370489&mark1=7030818258_pcclient">
                        <div class="video-content">
                            <img class="play-pic" src="./pcindex/images/playpage1.png"/>
                            <div id="zs-status" class="play-status">未开始</div>
                        </div>
                    </a>
                    <a target="_blank" href="https://lesson.homeway.com.cn/play/1027787.html?header=false&mark=28370489&mark1=7030818258_pcclient">
                        <div class="video-content">
                            <img class="play-pic" src="./pcindex/images/playpage1.png"/>
                            <div id="xw-status" class="play-status">未开始</div>
                        </div>
                    </a>
                </div>
                <div class="hline"></div>
                <div class="play-history">
                    <ul class="history-ul">
<!--                        <li>-->
<!--                            <a href="https://lesson.homeway.com.cn/play/1027787_1029397.html">-->
<!--                                <img class="ic-play" src="./pcindex/images/icplay.png"/>-->
<!--                                <div class="his-title">股市龙虎谈 - 兰州民百大涨背后的故事</div>-->
<!--                                <div class="his-date">2020-11-23 10:10</div>-->
<!--                            </a>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <img class="ic-play" src="./pcindex/images/icplay.png"/>-->
<!--                            <div class="his-title">股市龙虎谈 - 兰州民百大涨背后的故事</div>-->
<!--                            <div class="his-date">2020-11-23 10:10</div>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <img class="ic-play" src="./pcindex/images/icplay.png"/>-->
<!--                            <div class="his-title">股市龙虎谈 - 兰州民百大涨背后的故事</div>-->
<!--                            <div class="his-date">2020-11-23 10:10</div>-->
<!--                        </li>-->
<!--                        <li>-->
<!--                            <img class="ic-play" src="./pcindex/images/icplay.png"/>-->
<!--                            <div class="his-title">股市龙虎谈 - 兰州民百大涨背后的故事</div>-->
<!--                            <div class="his-date">2020-11-23 10:10</div>-->
<!--                        </li>-->
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <!-- right -->
    <div class="right-content">

        <div class="right-top">
<!--            <div class="side-icon-layout">-->
<!--                <img class="side-icon" src="./pcindex/images/ic_icon.png"/>-->
<!--            </div>-->
<!--            <div class="grid-vals">-->
<!--                <div class="grid-title">擒牛策略</div>-->
<!--                <div class="grid-item">-->
<!--                    <div class="g-tit">收益率/月</div>-->
<!--                    <div class="g-val getRate">+62.81%</div>-->
<!--                </div>-->
<!--                <div class="grid-item">-->
<!--                    <div class="g-tit">胜率/月</div>-->
<!--                    <div class="g-val winRate">100.00%</div>-->
<!--                </div>-->
<!--                <div class="grid-item">-->
<!--                    <div class="g-tit">交易次数/月</div>-->
<!--                    <div class="g-val tradeCount">14</div>-->
<!--                </div>-->
<!--                <div class="grid-hline"></div>-->
<!--                <div class="grid-item">-->
<!--                    <div class="g-tit">收益率/年</div>-->
<!--                    <div class="g-val getRateY">+62.8%</div>-->
<!--                </div>-->
<!--                <div class="grid-item">-->
<!--                    <div class="g-tit">胜率/年</div>-->
<!--                    <div class="g-val winRateY">100.00%</div>-->
<!--                </div>-->
<!--                <div class="grid-item">-->
<!--                    <div class="g-tit">仓位</div>-->
<!--                    <div class="g-val notOver">不超过10%</div>-->
<!--                </div>-->
<!--            </div>-->

            <div class="tab-box">
                <div class="tab">
                    <ul class="clearfix">
                        <li class="action">擒牛一号</li>
                        <li>擒牛二号</li>
                        <li>擒牛三号</li>
                    </ul>
                </div>
                <div class="box">
                    <div class="item">
                        <div class="top-layout">
                            <div class="pd-title"><img class="ic-rank" src="pcindex/images/rank3.png"/><span class="tit-txt">擒牛一号策略</span></div>
                            <div class="pd-content">
                                <div class="pd-profit">
                                    <div class="profit-content"><span class="pd-profit-val">213.52</span>%</div>
                                    <div class="profit-tip">近1年收益率</div>
                                </div>
                                <div class="pd-buy">
                                    <a class="fundbuy" target="_blank" href="../p11"><span>点此购买</span></a>
                                </div>
                            </div>
                        </div>
                        <div class="bottom-layout">
                            <div id="container" style="height: 100%"></div>
                        </div>
                    </div>
                    <div class="item">
                        <div class="top-layout">
                            <div class="pd-title"><img class="ic-rank" src="pcindex/images/rank2.png"/><span class="tit-txt">擒牛二号策略</span></div>
                            <div class="pd-content">
                                <div class="pd-profit">
                                    <div class="profit-content"><span class="pd-profit-val">101.42</span>%</div>
                                    <div class="profit-tip">近1年收益率</div>
                                </div>
                                <div class="pd-buy">
                                    <a class="fundbuy" target="_blank" href="../p22"><span>点此购买</span></a>
                                </div>
                            </div>
                        </div>
                        <div class="bottom-layout">
                            <div id="container1" style="height: 100%"></div>
                        </div>
                    </div>
                    <div class="item">
                        <div class="top-layout">
                            <div class="pd-title"><img class="ic-rank" src="pcindex/images/rank1.png"/><span class="tit-txt">擒牛三号策略</span></div>
                            <div class="pd-content">
                                <div class="pd-profit">
                                    <div class="profit-content"><span class="pd-profit-val">130.97</span>%</div>
                                    <div class="profit-tip">近1年收益率</div>
                                </div>
                                <div class="pd-buy">
                                    <a class="fundbuy" target="_blank" href="../p33"><span>点此购买</span></a>
                                </div>
                            </div>
                        </div>
                        <div class="bottom-layout">
                            <div id="container2" style="height: 100%"></div>
                        </div>
                    </div>
                </div>

            </div>
        </div>

<!--        <div class="right-products">-->
<!--            <a target="_blank" href="../p11"><img class="pd-pic" src="./pcindex/images/product1.png"/></a>-->
<!--            <a target="_blank" href="../p22"><img class="pd-pic" src="./pcindex/images/product2.png"/></a>-->
<!--            <a target="_blank" href="../p33"><img class="pd-pic" src="./pcindex/images/product3.png"/></a>-->
<!--        </div>-->

<!--        <div class="right-bottom">-->
<!--            <div class="notice-qr">爱投教专家实时在线 扫描右侧二维码 >></div>-->
<!--            <div class="right-call">-->
<!--                专家在线: 010-5602-2665-->
<!--            </div>-->
<!--            <div class="right-call">-->
<!--                专家热线: 010-5602-2665-->
<!--            </div>-->
<!--            <img class="ic-qrcode" src="./pcindex/images/qrcode.png"/>-->
<!--        </div>-->
    </div>

    <!-- bottom-content -->
    <div class="bottom-content">
        <div class="bottom-cube left-cube">
            <div class="txt-title">
                <div class="vline"></div>
                <div class="title-val">牛股研报</div>
            </div>
            <div class="tline"></div>
            <div class="hline"></div>
            <div class="left-content">
                <ul class="reports-ul">
                </ul>
            </div>
        </div>
        <div class="bottom-cube right-cube">
            <div class="txt-title">
                <div class="vline"></div>
                <div class="title-val">精选资讯</div>
            </div>
            <div class="tline"></div>
            <div class="hline"></div>
            <div class="left-content">
                <ul class="news-ul">
                </ul>
            </div>
        </div>
        <div class="bottom-cube right-cube">
            <div class="txt-title">
                <div class="vline"></div>
                <div class="title-val">专家在线直播</div>
            </div>
            <div class="tline tline-left"></div>
            <div class="hline"></div>
            <div class="video-cube">
                <a target="_blank" href="https://lesson.homeway.com.cn/play/1027787.html?header=false&mark=28370489&mark1=7030818258_pcclient">
                    <div class="video-content">
                        <img class="play-pic" src="./pcindex/images/playpage1.png"/>
                        <div id="play-status" class="play-status">未开始</div>
                    </div>
                </a>
            </div>
            <div class="hline"></div>
            <div class="play-history">
                <ul class="history-ul"></ul>
            </div>
        </div>
        <div class="bottom-cube right-cube">
            <div class="txt-title">
                <div class="vline"></div>
                <div class="title-val">文字观点</div>
            </div>
            <div class="tline"></div>
            <div class="hline"></div>
            <div class="left-content">
                <ul class="msg-ul scrollbar" id="style-7">
                    <li class="msg-item">
                        <div class="msg-date">15:29</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">【本直播间投资理念】

                            以价值投资为主导，

                            讲基本面讲逻辑，

                            关注的标的，

                            不仅看公司盈利模式，

                            也看业绩能否体现和支撑，

                            围绕有确定性机会的品种，

                            是我们关注的重心。</div>
                    </li>
                    <li class="msg-item">
                        <div class="msg-date">14:44</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">目前李老师就沃森S物

                            以及我们擒牛策略的核心标的小百

                            做出背后逻辑解析。</div>
                    </li>
                    <li class="msg-item">
                        <div class="msg-date">13:42</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">第八：相对而言，因为市场历来炒新不炒旧，所以游资们更倾向新题材；其次，次新股这种小票会更受资金青睐。</div>
                    </li>
                    <li class="msg-item">
                        <div class="msg-date">13:41</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">第七：K线形态上能看到底部哄抬起来后，在逐步有效的起量，有量才有价，无量啥都免谈。还有，量能形态上体现的是极富有规律性的收放自如。</div>
                    </li>
                    <li class="msg-item">
                        <div class="msg-date">13:41</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">第六：流通市值要小一些，百亿以上的不予考虑，重点是要考虑实际流通市值，通常在20亿及以下。</div>
                    </li>
                    <li class="msg-item">
                        <div class="msg-date">13:40</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">第五：启动前期，都是原本市场辨识度不高，且很不扎眼的标的。</div>
                    </li>
                    <li class="msg-item">
                        <div class="msg-date">13:40</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">第四：启动时，都是双低——价格低、位置低。</div>
                    </li>
                    <li class="msg-item">
                        <div class="msg-date">13:39</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">第三、市场涌现出一个特别具有可操作性的题材，例如：资源涨价、社区团购、 科技卡脖子（芯片持续紧缺）、新能源汽车、当下这几个题材都具有可能性。此阶段的跨年妖股如果能出现，出现在主板的概率要比创业板大，因为创业板涨跌幅20%，如果连续来3个涨停，那监管之手就要伸出来，这是不利于资金合力造妖的！！</div>
                    </li>
                    <li class="msg-item">
                        <div class="msg-date">13:39</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">第二：超短的周期进入一个转势区间，短线冰点期或刚刚由弱转强。无周期的支撑，何来大龙头、大妖股。再牛的股票，少了五环之首，都是要掉掉链子的。</div>
                    </li>
                    <li class="msg-item">
                        <div class="msg-date">13:39</div>
                        <div class="msg-node"></div>
                        <div class="msg-vline"></div>
                        <div class="msg-title">第一：基金开始进入结算周期，即大机构或国家队的影响力在减弱，此消彼长之下，游资逐渐占据了市场超短情绪的主导权。</div>
                    </li>

                </ul>
            </div>
        </div>
    </div>

    <!-- bottom-bar -->
    <div class="bottom-bar">
        <div class="right-bottom">
            <div class="notice-qr">爱投教专家实时在线 扫描右侧二维码 >></div>
            <div class="right-call">
                专家热线: 010-5602-2665
            </div>
            <img class="ic-qrcode" src="./pcindex/images/qrcode.png"/>
        </div>
    </div>
</div>

<div id="tong" style="display: none;">
    <a onclick="closeAd()" href="#">
        <img src="images/success.png" style="max-width: 100%; width: 320px; height: auto">
    </a>
</div>

<!-- Swiper JS -->
<script src="./pcindex/swiper/swiper-bundle.min.js"></script>
<script src="../js/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5/dist/echarts.min.js"></script>
<!-- Initialize Swiper -->
<script>
    var baseUrl = "https://gw.homeway.com.cn/";
    var dw = document.body.clientWidth;
    var dh = document.body.clientHeight;
    console.log("dw: " + dw + "  , dh: " + dh);

    var swiper = new Swiper('.swiper-container', {
        spaceBetween: 0,
        loop: true,
        centeredSlides: true,
        autoplay: {
            delay: 3000,
            disableOnInteraction: false,
        },
        pagination: {
            el: '.swiper-pagination',
            clickable: true,
        },
        // navigation: {
        //     nextEl: '.swiper-button-next',
        //     prevEl: '.swiper-button-prev',
        // },
    });

    initData();

    //初始化数据
    function initData() {
        getVideoHestory();
        getReports();
        getNews();
        // getWinInfo();
    }

    // 获取历史记录
    function getVideoHestory() {

        var path = "cooperator-lesson/videohistory/all/1027787?pageSize=4";

        $.ajax({
            type : "get",
            async:false,
            url : baseUrl + path,
            dataType : "jsonp",//数据类型为jsonp
            jsonp: "callback",//服务端用于接收callback调用的function名的参数
            success : function(data){
                // console.log(data);
                var code = data.code;
                if(code == 0){
                    var historyArr = data.data;
                    var listHtml = "";
                    var vLen = historyArr.length;
                    if(vLen > 2){
                        vLen = 2;
                    }
                    for(var i=0; i< vLen; i++) {
                        var notHeader = "?header=false";
                        var itemHtml =  "<li>\n" +
                                            "<a target=\"_blank\" href='" + historyArr[i].url + notHeader + "'>\n" +
                                                "<img class=\"ic-play\" src=\"./pcindex/images/icplay.png\"/>\n" +
                                                "<div class=\"his-title\">" + historyArr[i].name + "</div>\n" +
                                                "<div class=\"his-date\">" + timestampToTime(historyArr[i].playTime) + "</div>\n" +
                                            "</a>\n" +
                                        "</li>"
                        listHtml += itemHtml;
                    }
                    $(".history-ul").html(listHtml);

                }
            },
            error:function(e){
                console.log("获取数据失败:" + e);
            }
        });

    }

    // 获取新闻资讯及研报
    function getReports() {
        var path = "caidao/article/28370489/1/10?columnId=93";
        $.ajax({
            type : "get",
            async:false,
            url : baseUrl + path,
            dataType : "jsonp",//数据类型为jsonp
            jsonp: "callback",//服务端用于接收callback调用的function名的参数
            success : function(data){
                console.log(data);
                var code = data.code;
                if(code == 0){
                    var dataArr = data.data.list;

                    var notHeader = "?header=false";
                    var itemHtml = "";
                    var rptsLen = dataArr.length;
                    if(rptsLen > 3){
                        rptsLen = 3;
                    }
                    console.log("rptsLen: " + rptsLen);
                    for(var i=0; i< rptsLen; i++) {
                        var newItem = dataArr[i];
                        if(i == 0){
                            itemHtml =  "<li class=\"li-fst\">\n" +
                                            "<a target=\"_blank\" href='" + newItem.articleUrl + notHeader + "'>\n" +
                                                "<img class=\"niu-img\" src=\"pcindex/images/niu.png\"/>\n" +
                                                "<div class=\"niu-fst-title\">" + newItem.articleTitle + "</div>\n" +
                                                "<div class=\"niu-fst-date\">" + timestampToTime(newItem.createTime) + "</div>\n" +
                                                "<div class=\"rpt-line\"></div>\n" +
                                            "</a>\n" +
                                        "</li>";
                        } else
                        if(i > 1) {
                            itemHtml =  "<li class=\"li-rpt\">\n" +
                                            "<a target=\"_blank\" href='" + newItem.articleUrl + notHeader + "'>\n" +
                                            "<div class=\"item-tip\">牛股研报</div>\n" +
                                            "<div class=\"item-content\">\n" +
                                            "<div class=\"item-title\">" + newItem.articleTitle + "</div>\n" +
                                            "<div class=\"item-date\">" + timestampToTime(newItem.createTime) + "</div>\n" +
                                            "</div>\n" +
                                            "<div class=\"rpt-line-item\"></div>\n" +
                                            "</a>\n" +
                                        "</li>";
                        } else {
                            itemHtml =  "<li class=\"li-rpt-fst\">\n" +
                                            "<a target=\"_blank\" href='" + newItem.articleUrl + notHeader + "'>\n" +
                                            "<div class=\"item-tip\">牛股研报</div>\n" +
                                            "<div class=\"item-content\">\n" +
                                            "<div class=\"item-title\">" + newItem.articleTitle + "</div>\n" +
                                            "<div class=\"item-date\">" + timestampToTime(newItem.createTime) + "</div>\n" +
                                            "</div>\n" +
                                            "</a>\n" +
                                        "</li>";
                        }
                        $(".reports-ul").append(itemHtml);
                    }
                }
            },
            error:function(e){
                console.log("获取数据失败:" + e);
            }
        });

    }

    //获取新闻
    function getNews(){
        var path = "caidao/article/28370489/1/10?columnId=0";
        $.ajax({
            type : "get",
            async:false,
            url : baseUrl + path,
            dataType : "jsonp",//数据类型为jsonp
            jsonp: "callback",//服务端用于接收callback调用的function名的参数
            success : function(data){
                console.log(data);
                var code = data.code;
                if(code == 0){
                    var dataArr = data.data.list;

                    var listHtml = "";
                    var newsLen = dataArr.length;
                    if(newsLen > 5){
                        newsLen = 5;
                    }
                    for(var i=0; i< newsLen; i++) {
                        var newTag = "<img class=\"ic-news-last\" src=\"pcindex/images/new.png\"/>";
                        if(i == 0) {
                            newTag = "<img class=\"ic-news-last pulse animated infinite\" src=\"pcindex/images/new.png\"/>";
                        } else {
                            newTag = "";
                        }

                        var notHeader = "?header=false";
                        var itemHtml =  "<li>\n" +
                                            "<a target=\"_blank\" href='" + dataArr[i].articleUrl + notHeader + "'>\n" +
                                                "<div class=\"item-tip zx-news\">早间资讯</div>\n" +
                                                "<div class=\"item-content\">\n" +
                                                    "<div class=\"item-title\">" + dataArr[i].articleTitle + "</div>\n" +
                                                    "<div class=\"item-date\">" + timestampToTime(dataArr[i].createTime) + "</div>\n" +
                                                "</div>\n" +
                                                newTag +
                                            "</a>\n" +
                                        "</li>";
                        listHtml += itemHtml;
                    }
                    $(".news-ul").append(listHtml);

                }
            },
            error:function(e){
                console.log("获取数据失败:" + e);
            }
        });
    }

    // 获取战绩
    function getWinInfo() {

        var path = "lhjx/api/activity/getInfo?id=110";

        $.ajax({
            type : "get",
            async:false,
            url : baseUrl + path,
            dataType : "jsonp",//数据类型为jsonp
            jsonp: "callback",//服务端用于接收callback调用的function名的参数
            success : function(data){
                console.log(data);
                var code = data.errCode;
                if(code == 10000){
                    var valData = data.data;
                    $(".side-icon").attr("src", valData.agentTeacherLogo);
                    $(".side-icon").attr("src", valData.agentTeacherLogo);

                    console.log(valData.rate);
                    if(valData.rate>0){
                        $(".getRate").html("+" + valData.rate);
                    } else {
                        $(".getRate").html(valData.rate);
                    }
                    if(valData.totalRate>0){
                        $(".getRateY").html("+" + valData.totalRate);
                    } else {
                        $(".getRateY").html(valData.totalRate);
                    }
                    $(".winRate").html(valData.winRate + "%");
                    $(".winRateY").html(valData.totalWinRate + "%");
                    $(".tradeCount").html(valData.tradeCount);

                }
            },
            error:function(e){
                console.log("获取数据失败:" + e);
            }
        });

    }

    //时间戳转时间
    function timestampToTime(timestamp) {
        var date = new Date(timestamp );//时间戳为10位需*1000，时间戳为13位的话不需乘1000
        Y = date.getFullYear() + '-';
        M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1) + '-';
        D = date.getDate() + ' ';
        h = date.getHours() + ':';
        m = date.getMinutes();
        s = date.getSeconds();
        return Y+M+D+h+m;//时分秒可以根据自己的需求加上
    }

    //判断当前是否直播时间
    var time_range = function (beginTime, endTime) {
        var strb = beginTime.split (":");
        if (strb.length != 2) {
            return false;
        }

        var stre = endTime.split (":");
        if (stre.length != 2) {
            return false;
        }

        var b = new Date ();
        var e = new Date ();
        var n = new Date ();

        b.setHours (strb[0]);
        b.setMinutes (strb[1]);
        e.setHours (stre[0]);
        e.setMinutes (stre[1]);

        if (n.getTime () - b.getTime () > 0 && n.getTime () - e.getTime () < 0) {
            return true;
        } else {
            return false;
        }
    }

    var count = 0;
    //刷新直播页面
    function timerefresh()
    {
        count++;
        // console.log("refresh count: " + count);
        //是否在直播时间
        if(time_range("10:44", "11:31") || time_range("14:29", "15:01")){
            // console.log("playing");
            // <div id="xw-status" class="play-status playing">直播中</div>
            $("#play-status").addClass("playing");
            $("#play-status").html("直播中···");
        } else {
            $("#play-status").removeClass("playing");
            $("#play-status").html("未开始");
        }

    }
    timerefresh();
    setTimeout('timerefresh()',5000); //指定1秒刷新一次


    var data = [["2020-12-20",0.0],["2020-12-21",31.69],["2020-12-22",25.23],["2020-12-24",25.23],["2020-12-28",42.3],["2020-12-30",53.92],["2020-01-04",124.35],["2020-01-06",129.86],["2020-01-08",176.73],["2020-01-12",192.4],["2020-01-14",162.34],["2020-01-16",175.55],["2020-01-18",175.55],["2020-01-20",192.67],["2020-01-22",213.52]];
    var data1 = [["2020-06-08",8.41],["2020-06-09",8.35],["2020-06-10",8.41],["2020-06-11",8.32],["2020-06-12",7.98],["2020-06-13",7.98],["2020-06-14",7.98],["2020-06-15",8.19],["2020-06-16",8.51],["2020-06-17",8.61],["2020-06-18",8.71],["2020-06-19",8.81],["2020-06-20",8.81],["2020-06-21",8.81],["2020-06-22",9.13],["2020-06-23",9.34],["2020-06-24",9.18],["2020-06-25",8.91],["2020-06-26",8.76],["2020-06-27",8.76],["2020-06-28",8.76],["2020-06-29",8.61],["2020-06-30",8.48],["2020-07-01",8.61],["2020-07-02",8.89],["2020-07-03",9.68],["2020-07-04",9.68],["2020-07-05",9.68],["2020-07-06",9.82],["2020-07-07",9.34],["2020-07-08",10.63],["2020-07-09",10.37],["2020-07-10",10.81],["2020-07-11",11.09],["2020-07-12",11.09],["2020-07-13",11.09],["2020-07-14",11.72],["2020-07-15",11.66],["2020-07-16",11.29],["2020-07-17",11.59],["2020-07-18",12.03],["2020-07-19",12.29],["2020-07-20",12.29],["2020-07-21",12.29],["2020-07-22",12.24],["2020-07-23",12.11],["2020-07-24",12.45],["2020-07-25",12.45],["2020-07-26",12.45],["2020-07-27",12.27],["2020-07-28",12.47],["2020-07-29",13.39],["2020-07-30",13.36],["2020-07-31",13.77],["2020-08-01",13.77],["2020-08-02",13.77],["2020-08-03",14.11],["2020-08-04",14.17],["2020-08-05",14.27],["2020-08-06",14.37],["2020-08-07",14.77],["2020-08-08",15.28],["2020-08-09",15.28],["2020-08-10",15.28],["2020-08-11",15.12],["2020-08-12",14.82],["2020-08-13",15.28],["2020-08-14",15.88],["2020-08-15",15.88],["2020-08-16",15.88],["2020-08-17",15.67],["2020-08-18",15.15],["2020-08-19",15.27],["2020-08-20",14.92],["2020-08-21",14.67],["2020-08-22",14.67],["2020-08-23",14.67],["2020-08-24",14.02],["2020-08-25",13.17],["2020-08-26",14.27],["2020-08-27",14.77],["2020-08-28",14.08],["2020-08-29",14.08],["2020-08-30",14.08],["2020-08-31",13.96],["2020-09-01",13.44],["2020-09-02",13.33],["2020-09-03",13.75],["2020-09-04",13.93],["2020-09-05",13.93],["2020-09-06",13.93],["2020-09-07",13.32],["2020-09-08",13.02],["2020-09-09",12.93],["2020-09-10",12.99],["2020-09-11",13.28],["2020-09-12",13.28],["2020-09-13",13.28],["2020-09-14",13.95],["2020-09-15",13.68],["2020-09-16",13.98],["2020-09-17",13.87],["2020-09-18",14.38],["2020-09-19",14.38],["2020-09-20",14.38],["2020-09-21",14.44],["2020-09-22",14.45],["2020-09-23",14.3],["2020-09-24",14.48],["2020-09-25",14.52],["2020-09-26",14.52],["2020-09-27",14.52],["2020-09-28",14.9],["2020-09-29",14.56],["2020-09-30",14.05],["2020-10-09",14.68],["2020-10-10",15.02],["2020-10-11",15.11],["2020-10-12",15.22],["2020-10-13",14.92],["2020-10-14",14.51],["2020-10-15",14.16],["2020-10-16",13.88],["2020-10-17",13.88],["2020-10-18",13.88],["2020-10-19",14.38],["2020-10-20",13.88],["2020-10-21",13.22],["2020-10-22",13.34],["2020-10-23",13.78],["2020-10-24",14.6],["2020-10-25",14.76],["2020-10-26",14.21],["2020-10-27",14.14],["2020-10-28",14.15],["2020-10-29",14.22],["2020-10-30",14.22],["2020-11-02",13.67],["2020-11-03",13.34],["2020-11-04",14.1],["2020-11-05",13.96],["2020-11-06",14.21],["2020-11-07",14.21],["2020-11-08",14.21],["2020-11-09",13.74],["2020-11-10",13.27],["2020-11-11",14.18],["2020-11-12",14.90],["2020-11-13",15.74],["2020-11-14",15.74],["2020-11-15",15.74],["2020-11-16",16.21],["2020-11-17",16.11],["2020-11-18",16.72],["2020-11-19",16.46],["2020-11-20",16.41],["2020-11-21",16.41],["2020-11-22",16.41],["2020-11-23",16.29],["2020-11-24",16.88],["2020-11-25",17.15],["2020-11-26",17.51],["2020-11-27",17.51],["2020-11-28",17.51],["2020-11-29",17.48],["2020-11-30",18.23],["2020-12-01",18.01],["2020-12-02",18.26],["2020-12-03",18.01],["2020-12-04",17.51],["2020-12-05",17.51],["2020-12-06",17.51],["2020-12-07",17.32],["2020-12-08",17.13],["2020-12-09",16.87],["2020-12-10",16.75],["2020-12-11",16.66],["2020-12-14",16.79],["2020-12-15",17.02],["2020-12-16",16.53],["2020-12-17",16.75],["2020-12-18",16.94]];
    var data2 = [["2020-03-12",13.72],["2020-03-13",14.22],["2020-03-14",14.22],["2020-03-15",14.22],["2020-03-16",14.96],["2020-03-17",15.22],["2020-03-18",15.45],["2020-03-19",16.05],["2020-03-20",16.05],["2020-03-21",16.05],["2020-03-22",15.97],["2020-03-23",16.13],["2020-03-24",15.25],["2020-03-25",15.77],["2020-03-26",15.34],["2020-03-27",15.71],["2020-03-28",15.71],["2020-03-29",15.71],["2020-03-30",15.95],["2020-03-31",15.62],["2020-04-01",15.3],["2020-04-02",14.76],["2020-04-03",14.93],["2020-04-04",14.93],["2020-04-05",14.93],["2020-04-06",14.67],["2020-04-07",14.89],["2020-04-08",14.83],["2020-04-09",14.45],["2020-04-10",14.67],["2020-04-11",14.67],["2020-04-12",14.67],["2020-04-13",15.11],["2020-04-14",16.25],["2020-04-15",16.22],["2020-04-16",16.79],["2020-04-17",17.24],["2020-04-18",17.24],["2020-04-19",17.24],["2020-04-20",17.78],["2020-04-21",18.13],["2020-04-22",18.58],["2020-04-23",18.72],["2020-04-24",19.92],["2020-04-25",19.92],["2020-04-26",19.92],["2020-04-27",20.15],["2020-04-28",20.84],["2020-04-29",20.42],["2020-04-30",21.02],["2020-05-01",22.15],["2020-05-02",22.15],["2020-05-03",22.15],["2020-05-04",22.75],["2020-05-05",21.31],["2020-05-06",19.71],["2020-05-07",18.96],["2020-05-08",18.83],["2020-05-09",18.83],["2020-05-10",18.83],["2020-05-11",18.64],["2020-05-12",18.16],["2020-05-13",18.16],["2020-05-14",17.91],["2020-05-15",17.63],["2020-05-16",17.63],["2020-05-17",17.63],["2020-05-18",17.55],["2020-05-19",17.23],["2020-05-20",16.9],["2020-05-21",16.76],["2020-05-22",16.12],["2020-05-23",16.12],["2020-05-24",16.12],["2020-05-25",15.39],["2020-05-26",15.44],["2020-05-27",15.58],["2020-05-28",15.74],["2020-05-29",15.33],["2020-05-30",15.33],["2020-05-31",15.33],["2020-06-01",15.98],["2020-06-02",15.56],["2020-06-03",15.86],["2020-06-04",16.78],["2020-06-05",16.78],["2020-06-06",16.78],["2020-06-07",16.42],["2020-06-08",16.39],["2020-06-09",16.69],["2020-06-10",18.18],["2020-06-11",18.77],["2020-06-12",18.03],["2020-06-13",18.03],["2020-06-14",18.03],["2020-06-15",17.63],["2020-06-16",17.21],["2020-06-17",17.16],["2020-06-18",17.87],["2020-06-19",18.24],["2020-06-20",18.24],["2020-06-21",18.24],["2020-06-22",17.66],["2020-06-23",17.58],["2020-06-24",18.84],["2020-06-25",19.24],["2020-06-26",19.76],["2020-06-27",19.76],["2020-06-28",19.76],["2020-06-29",19.53],["2020-06-30",19.13],["2020-07-01",19.2],["2020-07-02",18.9],["2020-07-03",20.69],["2020-07-04",20.69],["2020-07-05",20.69],["2020-07-06",21.22],["2020-07-07",21.87],["2020-07-08",22.33],["2020-07-09",22.62],["2020-07-10",23.15],["2020-07-11",23.15],["2020-07-12",23.15],["2020-07-13",23.21],["2020-07-14",23.61],["2020-07-15",23.14],["2020-07-16",21.86],["2020-07-17",22.56],["2020-07-18",22.56],["2020-07-19",22.56],["2020-07-20",21.67],["2020-07-21",21.22],["2020-07-22",21.43],["2020-07-23",21.73],["2020-07-24",20.34],["2020-07-25",20.34],["2020-07-26",20.34],["2020-07-27",20.59],["2020-07-28",20.82],["2020-07-29",20.59],["2020-07-30",20.57],["2020-07-31",21.98],["2020-08-01",21.98],["2020-08-02",21.98],["2020-08-03",21.84],["2020-08-04",23.36],["2020-08-05",23.99],["2020-08-06",24.87],["2020-08-07",24.67],["2020-08-08",24.67],["2020-08-09",24.67],["2020-08-10",24.91],["2020-08-11",23.05],["2020-08-12",21.69],["2020-08-13",21.88],["2020-08-14",22.15],["2020-08-15",22.15],["2020-08-16",22.15],["2020-08-17",22.68],["2020-08-18",22.28],["2020-08-19",22.98],["2020-08-20",24.53],["2020-08-21",26.14],["2020-08-22",26.14],["2020-08-23",26.14],["2020-08-24",26.27],["2020-08-25",25.95],["2020-08-26",25.11],["2020-08-27",24.83],["2020-08-28",24.66],["2020-08-29",23.23],["2020-08-30",23.23],["2020-08-31",23.23],["2020-08-31",22.96],["2020-09-01",21.83],["2020-09-02",23.57],["2020-09-03",24.94],["2020-09-04",26.05],["2020-09-05",26.05],["2020-09-06",26.05],["2020-09-07",25.73],["2020-09-08",25.39],["2020-09-09",24.99],["2020-09-10",24.73],["2020-09-11",25.16],["2020-09-12",26.42],["2020-09-12",26.42],["2020-09-13",26.42],["2020-09-14",27.39],["2020-09-15",27.22],["2020-09-16",27.17],["2020-09-17",26.57],["2020-09-18",26.79],["2020-09-19",27.22],["2020-09-20",27.22],["2020-09-21",27.22],["2020-09-22",27.96],["2020-09-23",28.69],["2020-09-24",28.91],["2020-09-25",29.36],["2020-09-26",29.36],["2020-09-27",29.36],["2020-09-28",28.78],["2020-09-29",27.26],["2020-09-30",27.55],["2020-10-09",28.14],["2020-10-10",28.14],["2020-10-11",28.14],["2020-10-12",27.18],["2020-10-13",26.21],["2020-10-14",26.11],["2020-10-15",26.64],["2020-10-16",27.6],["2020-10-17",28.6],["2020-10-18",28.6],["2020-10-19",28.6],["2020-10-20",27.98],["2020-10-21",28.55],["2020-10-22",27.85],["2020-10-23",27.25],["2020-10-24",27.25],["2020-10-25",27.25],["2020-10-26",27.82],["2020-10-27",27.88],["2020-10-28",27.18],["2020-10-29",27.92],["2020-10-30",29.27],["2020-11-02",28.74],["2020-11-03",28.64],["2020-11-04",27.94],["2020-11-05",27.14],["2020-11-06",26.84],["2020-11-07",26.84],["2020-11-08",26.84],["2020-11-09",26.21],["2020-11-10",25.32],["2020-11-11",25.53],["2020-11-12",27.03],["2020-11-13",28.23],["2020-11-14",28.23],["2020-11-15",28.23],["2020-11-16",27.74],["2020-11-17",27.54],["2020-11-18",26.53],["2020-11-19",25.23],["2020-11-20",25.93],["2020-11-21",25.93],["2020-11-22",25.93],["2020-11-23",27.33],["2020-11-24",29.08],["2020-11-25",31.28],["2020-11-26",30.99],["2020-11-27",32.46],["2020-11-28",32.46],["2020-11-29",32.46],["2020-11-30",33.04],["2020-12-01",32.94],["2020-12-02",33.65],["2020-12-03",32.23],["2020-12-04",30.96],["2020-12-05",30.96],["2020-12-06",30.96],["2020-12-07",32.3], ["2020-12-08",32.48], ["2020-12-09",31.94], ["2020-12-10",31.59], ["2020-12-11",31.67],["2020-12-14",31.79],["2020-12-15",32.02],["2020-12-16",32.23],["2020-12-17",31.65],["2020-12-18",31.69]];

    initChart('container', data);
    function initChart(idStr, data) {
        console.log(data);
        var dom = document.getElementById(idStr);
        var myChart = echarts.init(dom);

        var app = {};

        var option;

        var dateList = data.map(function (item) {
            return item[0];
        });
        var valueList = data.map(function (item) {
            return item[1];
        });

        option = {

            // Make gradient line here
            visualMap: [{
                show: false,
                type: 'continuous',
                seriesIndex:  0,
                min: 4,
                max: 10
            }],


            title: {
                show: false
            },
            tooltip: {
                trigger: 'axis'
            },
            xAxis: [{
                axisLine:{
                    lineStyle:{
                        color:'#FFF',
                    }
                },
                data: dateList
            }],
            yAxis: [{
                min: '4',
                axisLabel : {
                    textStyle: {
                        color: '#fff'
                    }
                },
                splitLine: {
                    show: true,
                    lineStyle:{
                        color: ['#5a5a5a'],
                        width: 1,
                        type: 'solid'
                    }
                }
            }],
            grid: [{
                top: '30',
                bottom: '20',
                right: '5',
                left: '30'
            }],
            series: [{
                type: 'line',
                showSymbol: false,
                data: valueList
            }]
        };

        if (option && typeof option === 'object') {
            myChart.setOption(option);
        }
    }

    $(function(){

        $(".tab ul li").click(function(){
            $(".tab ul li").removeClass('action');
            $(this).addClass('action');
            $(".box .item").hide();
            $(".box .item").eq($(".tab ul li").index(this)).show();

            if($(".tab ul li").index(this) == 0){
                initChart('container', data);
            }else
            if($(".tab ul li").index(this) == 1) {
                initChart('container1', data1);
            }else
            if($(".tab ul li").index(this) == 2) {
                initChart('container2', data2);
            }

        })

    })
</script>
</body>

</html>
